#ifndef CONFIG_H
#define CONFIG_H
/*---------------------------------------------------------------------------*/
#include <string>
#include <iostream>
#include <fstream>
#include <vector>
#include "Utils.h"
/*---------------------------------------------------------------------------*/
using namespace std;
/*---------------------------------------------------------------------------*/
struct Option
{
	string name;
	string *values;
	unsigned int count;
};
/*---------------------------------------------------------------------------*/
class Config
{
	public:
	
	static void 			loadConfig(const char *filename);
	static void 			unloadConfig();
	static void				createDefaultConfig(const char *filename);
	
	static string 			*getValues(const char *var, int &count);	
	static string 			getValue(const char *var);	
	
	static vector<Option*>	*getOptions();
};
/*---------------------------------------------------------------------------*/
#endif
